<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>如风壁纸 - 分类浏览</title>
    <link rel="stylesheet" href="css/style.css">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/remixicon@3.5.0/fonts/remixicon.css">
</head>
<body>
    <header class="app-header">
        <div class="header-left">
            <button id="back-btn" class="back-btn-small">
                <i class="ri-arrow-left-line"></i>
            </button>
            <h1 class="category-title" id="category-title">分类浏览</h1>
        </div>
    </header>
    
    <nav class="bottom-nav">
        <a href="index.html" class="nav-item">
            <i class="ri-home-line"></i>
            <span>首页</span>
        </a>
        <a href="categories.html" class="nav-item active">
            <i class="ri-grid-line"></i>
            <span>分类</span>
        </a>
        <a href="favorites.html" class="nav-item">
            <i class="ri-heart-line"></i>
            <span>收藏</span>
        </a>
        <a href="upload.html" class="nav-item">
            <i class="ri-upload-line"></i>
            <span>上传</span>
        </a>
    </nav>
    
    <main class="container">
        <div id="wallpaper-grid" class="wallpaper-grid">
            <!-- 壁纸内容将通过JS动态加载 -->
            <div class="loading-spinner">
                <div class="spinner"></div>
                <p>加载中...</p>
            </div>
        </div>
        
        <div id="load-more" class="load-more">
            <span>上拉加载更多</span>
        </div>
    </main>
    
    <script src="js/api.js"></script>
    <script src="js/storage.js"></script>
    <script src="js/category-content.js"></script>
</body>
</html> 